import request from '../utils/request'

export function getIntegralLog() {
  return request({
    url: '/integral/log',
    method: 'get'
  })
}
export function getIntegralPage(val) {
  return request({
    url: '/integral/log?page=' + val,
    method: 'get'
  })
}

export function deleteIntegralLog(data) {
  return request({
    url: '/integral/deleteLog',
    method: 'post',
    data
  })
}
export function searchIntegralLog(data) {
  return request({
    url: '/integral/searchLog',
    method: 'post',
    data
  })
}
